@layout("/common/_container.html",{js:["/assets/common/libs/pinyin/initials.js","/assets/common/libs/pinyin/pinyin.js","/assets/modular/system/dgdzxBx/zxChengben.js"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/chengben.css?v=${constants.getReleaseVersion()}" media="all">
<div class="layui-body-header">
    <span class="layui-body-header-title">门店装修成本管理</span>
</div>
<style>
    .zx {
        margin-left: -20px;
        margin-top: 10px;
    }
    .zxxz {
        color: #00B83F;
    }

    .zx-name {
        width: 38px;
        display: inline-block;
        text-align: right;
    }
    .tbtn{
        width: 64px;
        height: 38px;
        padding: 0;
    }
    .btn{
        margin-bottom: 10px;
    }
</style>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name">日期</label>
                                <div class="layui-inline" style="display: inline-block">
                                    <input id="riqi1" name="riqi1" placeholder="请选择日期" type="text" readonly
                                           class="layui-input" autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline zxmd">
                                <label class="layui-form-label">装修门店:<span style="color: red;"></span></label>
                                <div class="layui-inline" style="display: inline-block">
                                    <select id="btyZxMdzxId1" lay-filter="language" lay-search="">
                                        <option value=''>--请选择装修门店--</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name" style="width: 35px">摘要</label>
                                <div class="layui-inline" style="display: inline-block">
                                    <input id="zhaiyao_q" size="90" name="zhaiyao_q" placeholder="摘要" type="text"
                                           class="layui-input"  autocomplete="off" style="width: 184px"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name" style="width: 35px">备注</label>
                                <div class="layui-inline" style="display: inline-block">
                                    <input id="beizhu_q" size="90" name="zhaiyao_q" placeholder="备注" type="text"
                                           class="layui-input" autocomplete="off" style="width: 184px"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name" style="width: 35px">票据</label>
                                <div class="layui-inline" style="display: inline-block">
                                    <input id="company" size="90" name="company" placeholder="票据号" type="text"
                                           class="layui-input" autocomplete="off" style="width: 184px"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <!--                                <label class="layui-form-label zx-name" style="width: 35px">票据</label>-->
                                <div class="layui-inline" style="display: inline-block">
                                    <select id="status" name="status" style="float: left;" >
                                        <option value="">全部</option>
<!--                                        <option value="4">待提交</option>-->
                                        <option value="5">被打回</option>
                                        <option value="3">待审核</option>
                                        <option value="2">待打款</option>
                                        <option value="1">已打款</option>
<!--                                        <option value="6">预留</option>-->
<!--                                        <option value="9">负单</option>-->
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name" style="width: 35px">导入批次</label>
                                <div class="layui-inline" style="display: inline-block">
                                    <input id="btyZxHuopinIdView_q" size="90" name="btyZxHuopinIdView_q" placeholder="导入批次" type="text"
                                           class="layui-input" autocomplete="off" style="width: 184px"/>
                                </div>
                            </div>

                            <div class="layui-inline" style="text-align: center;">
                                <button id="btnSearch" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe615;</i>搜索
                                </button>
                                <button id="btnSearchALL" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe615;</i>搜索全部
                                </button>
                                <button id="btnExp" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe67d;</i>导出
                                </button>
                                <button id="refresh" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe615;</i>刷新
                                </button>
                                <button id="btnExcel" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe67d;</i>导入报销单</button>
                                <button id="btnImportTz" class="layui-btn icon-btn btn"><i class="layui-icon">&#xe67d;</i>导入投资情况</button>
                                <button id="btnImportTzBatch" class="layui-btn icon-btn btn" title="D:/data/temp/"><i class="layui-icon">&#xe67d;</i>批量导入投资情况 </button>
<!--                                <button id="kemuCorrection" class="layui-btn icon-btn btn"><i class="layui-icon"> &#xe642;</i>科目纠错</button>-->
                            </div>
                            <br>
                            <span class="zxxz">添加：</span>
                            <form id="zxChengbenForm" lay-filter="zxChengbenForm">
                                <div class="layui-col-sm12 zx">
                                    <input id="daKuan_view" name="daKuan_view" type="hidden" value="否"/>
                                    <input id="leixing" name="leixing" type="hidden" value="1"/>
                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">日期<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="riqi" name="riqi" placeholder="请选择日期" type="text" readonly
                                                   class="layui-input" lay-verify="required" autocomplete="off"/>
                                        </div>
                                    </div>

                                    <div class="layui-inline" id="btyZxMdzxId_div">
                                        <label class="layui-form-label zx-name" style="width: 28px">门店</label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <select id="btyZxMdzxId" name="btyZxMdzxId" lay-filter="queryhp"
                                                    lay-search="btyZxMdzxId">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name" style="width: 35px">总价<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="zongjia" name="zongjia" placeholder="总价:(元)" type="text"
                                                   class="layui-input" lay-verify="required|double" autocomplete="off"/>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name" style="width: 35px">摘要<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="zhaiyao" size="90" name="zhaiyao" placeholder="请填写摘要" type="text"
                                                   class="layui-input" lay-verify="required" autocomplete="off" style="width: 184px"/>
                                        </div>
                                    </div>
                                    <div class="layui-inline" style="margin-right: 50px">
                                        <label class="layui-form-label zx-name" style="width: 44px;padding-top: 17px">报销人</label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <select name="btyyBxdaId" lay-filter="btyyBxdaId" id="btyyBxdaId"
                                                    lay-search="btyyBxdaId">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                        <div class="layui-inline">
                                            <div class="layui-inline">
                                                <input id="btyyBxdaIdView" name="btyyBxdaIdView" placeholder="报销人"
                                                       type="text" lay-verify="required"
                                                       class="layui-input" autocomplete="off" style="margin-top: 6px"/>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">卡号</label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="yhKahao" name="yhKahao" placeholder="请填写银行卡号" type="text"
                                                   class="layui-input" lay-verify="" autocomplete="off"
                                                   style="width: 184px"/>
                                        </div>
                                    </div>

                                    <div class="layui-inline" style="margin-left: -20px;">
                                        <label class="layui-form-label zx-name" style="width: 44px">开户行</label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="yhKaihuhang" name="yhKaihuhang" placeholder="请填写银行卡开户行"
                                                   type="text"
                                                   class="layui-input" lay-verify="" autocomplete="off"/>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">打款<span style="color: red;">*</span></label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <select name="daKuan" lay-filter="daKuan" id="daKuan" lay-verify="required">
                                                <option value="">请选择是否打款</option>
                                                <option value="1">打款</option>
                                                <option value="0">不需要打款</option>
                                                <option value="2">预留</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">备注</label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <input id="beizhu" name="beizhu" placeholder="备注" type="text"
                                                   class="layui-input" lay-verify="" autocomplete="off"/>
                                        </div>
                                    </div>

                                    <div class="layui-inline" style="text-align: center;margin-left: 25px">
                                        <button class="layui-btn tbtn" lay-filter="btnSubmit" lay-submit>&emsp;添加&emsp;
                                        </button>
<!--                                        <a class="layui-btn btnshop" id="btnQingkong">清空</a>-->
                                        <div class="layui-btn" id="btnQingkong">清空
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <table class="layui-table" id="zxChengbenTable" lay-filter="zxChengbenTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">分配</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="shenhe">审核</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="export">导出</a>
</script>
<script id="dakuanTem" type="text/html">
    {{#  if(d.daKuan == "0"){ }}
    否
    {{#  }else if(d.daKuan == "1"){ }}
    是
    {{#  } }}
</script>
<!--<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>-->
<!--<script>-->
<!--    $(document.body).width()-->
<!--    alert($(document.body).width())-->
<!--</script>-->
@}
